package cn.yaoud.salus.oms.alarm.feishu.bot.msg.richtext;

import lombok.Getter;

import java.util.Collections;
import java.util.List;

/**
 * 富文本消息内容
 *
 * @author 唐彪
 */
@Getter
public class RobotContent {
    private final String title;
    private final List<List<? extends RbTag>> content;

    public RobotContent(String title, List<? extends RbTag> tagList) {
        this.title = title;
        content = Collections.singletonList(tagList);
    }
}
